setState

abstract fun setState(block: DesignBlock, state: BlockState)

Set the state of a block.

Parameters

block

the block whose state should be set.

state

the new state to set.